import db from "./db";

export async  function getFidlds(tableName){
    let sql  = `select * from information_schema.COLUMNS where table_name = '${tableName}' `;     
    let rsData = await db.query(sql);   
    return rsData;
};